Skip to content

Conversation

@maho
Copy link

@maho maho commented Apr 8, 2013

I noticed that autorandr doesn't work when I'm connecting 2 external displays. Autorandr then called xrandr --output LVDS1 --off --output HDMI1 ... --output VGA1 ....., and xrandr refused to operate on three outputs simultaenously (I suspenct that intel driver can "see" only two outputs in one time).

So, I modified code to split options per output, execute "--off" options first, next "turn on" options next.

@johannish
Copy link

See also #16, which addresses this same issue, with a slightly different approach. I'm not sure which will perform better.

@maho
Copy link
Author

maho commented May 4, 2013

On 05/03/2013 04:59 PM, raztus wrote:

See also #16 #16, which
addresses this same issue, with a slightly different approach. I'm not
sure which will perform better.

I think my solution is better, but both are similar.

pozdrawiam

Łukasz Mach - [email protected]

@tachylatus
Copy link

I vote for this approach instead of #16. It is not always reasonable to turn off all displays first.
On the other hand, it would be much faster to do all the turnoffs in a single command, then let a second command activate outputs.

@maho
Copy link
Author

maho commented Jul 5, 2013

On 03.07.2013 21:55, Helge wrote:

I vote for this approach instead of #16
#16. It is not always
reasonable to turn off all displays first.

Note, that this approach also can turn off all displays first, depending
on configuration.

EG, when you switch from LVDS+VGA to HDMI, or LVDS to VGA+HDMI. It will
turn off LVDS first, next turn on VGA and HDMI.

However - it works ;)

pozdrawiam

Łukasz Mach - [email protected]

@tachylatus
Copy link

I made a pull request, #21, with a similar solution, but combining both the speed from #16 and correctness of this solution.
It issues two xrandr commands to quickly disable then enable outputs, but instead of blindly disabling all connected outputs, it rearranges the configuration commands.

@maho
Copy link
Author

maho commented Sep 29, 2022

I believe this is outdated a bit.

@maho maho closed this Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants